home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 10.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 33 38 3a 31 34 20 31 | 39 39 38 0a 3b 3b 3b 20 |:38:14 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 72 69 6d |s-20.3/l|isp/prim|
|000000a0| 2f 63 6d 64 6c 6f 6f 70 | 2e 65 6c 0a 3b 3b 3b 20 |/cmdloop|.el.;;; |
|000000b0| 65 6d 61 63 73 20 76 65 | 72 73 69 6f 6e 20 32 30 |emacs ve|rsion 20|
|000000c0| 2e 34 20 22 45 6d 65 72 | 61 6c 64 22 20 58 45 6d |.4 "Emer|ald" XEm|
|000000d0| 61 63 73 20 20 4c 75 63 | 69 64 2e 0a 3b 3b 3b 20 |acs Luc|id..;;; |
|000000e0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000f0| 20 32 2e 32 35 20 58 45 | 6d 61 63 73 3b 20 32 32 | 2.25 XE|macs; 22|
|00000100| 2d 4d 61 72 2d 39 36 2e | 0a 3b 3b 3b 20 6f 70 74 |-Mar-96.|.;;; opt|
|00000110| 69 6d 69 7a 61 74 69 6f | 6e 20 69 73 20 6f 6e 2e |imizatio|n is on.|
|00000120| 0a 3b 3b 3b 20 74 68 69 | 73 20 66 69 6c 65 20 75 |.;;; thi|s file u|
|00000130| 73 65 73 20 6f 70 63 6f | 64 65 73 20 77 68 69 63 |ses opco|des whic|
|00000140| 68 20 64 6f 20 6e 6f 74 | 20 65 78 69 73 74 20 69 |h do not| exist i|
|00000150| 6e 20 45 6d 61 63 73 20 | 31 39 2e 0a 0a 28 69 66 |n Emacs |19...(if|
|00000160| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000170| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000180| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000190| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|000001a0| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|000001b0| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|000001c0| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|000001d0| 69 6f 6e 20 22 32 30 22 | 29 29 29 0a 20 20 20 20 |ion "20"|))). |
|000001e0| 28 65 72 72 6f 72 20 22 | 60 63 6d 64 6c 6f 6f 70 |(error "|`cmdloop|
|000001f0| 2e 65 6c 27 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |.el' was| compile|
|00000200| 64 20 66 6f 72 20 45 6d | 61 63 73 20 32 30 22 29 |d for Em|acs 20")|
|00000210| 29 0a 0a 28 6f 72 20 28 | 62 6f 75 6e 64 70 20 27 |)..(or (|boundp '|
|00000220| 63 75 72 72 65 6e 74 2d | 6c 6f 61 64 2d 6c 69 73 |current-|load-lis|
|00000230| 74 29 20 28 73 65 74 71 | 20 63 75 72 72 65 6e 74 |t) (setq| current|
|00000240| 2d 6c 6f 61 64 2d 6c 69 | 73 74 20 6e 69 6c 29 29 |-load-li|st nil))|
|00000250| 0a 0a 0a 23 40 34 36 20 | 52 65 74 75 72 6e 20 74 |...#@46 |Return t|
|00000260| 68 65 20 63 75 72 72 65 | 6e 74 20 64 65 70 74 68 |he curre|nt depth|
|00000270| 20 69 6e 20 72 65 63 75 | 72 73 69 76 65 20 65 64 | in recu|rsive ed|
|00000280| 69 74 73 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |its...(d|efalias |
|00000290| 27 72 65 63 75 72 73 69 | 6f 6e 2d 64 65 70 74 68 |'recursi|on-depth|
|000002a0| 20 23 5b 6e 69 6c 20 22 | 08 c1 20 5c 5c 87 22 20 | #[nil "|.. \\." |
|000002b0| 5b 63 6f 6d 6d 61 6e 64 | 2d 6c 6f 6f 70 2d 6c 65 |[command|-loop-le|
|000002c0| 76 65 6c 20 6d 69 6e 69 | 62 75 66 66 65 72 2d 64 |vel mini|buffer-d|
|000002d0| 65 70 74 68 5d 20 32 20 | 28 23 24 20 2e 20 36 30 |epth] 2 |(#$ . 60|
|000002e0| 30 29 5d 29 0a 23 40 33 | 36 20 45 78 69 74 20 61 |0)]).#@3|6 Exit a|
|000002f0| 6c 6c 20 72 65 63 75 72 | 73 69 76 65 20 65 64 69 |ll recur|sive edi|
|00000300| 74 69 6e 67 20 6c 65 76 | 65 6c 73 2e 1f 0a 28 64 |ting lev|els...(d|
|00000310| 65 66 61 6c 69 61 73 20 | 27 74 6f 70 2d 6c 65 76 |efalias |'top-lev|
|00000320| 65 6c 20 23 5b 6e 69 6c | 20 22 c0 c1 c2 5c 22 87 |el #[nil| "...\".|
|00000330| 22 20 5b 74 68 72 6f 77 | 20 74 6f 70 2d 6c 65 76 |" [throw| top-lev|
|00000340| 65 6c 20 6e 69 6c 5d 20 | 33 20 28 23 24 20 2e 20 |el nil] |3 (#$ . |
|00000350| 37 34 36 29 20 6e 69 6c | 5d 29 0a 23 40 35 35 20 |746) nil|]).#@55 |
|00000360| 45 78 69 74 20 66 72 6f | 6d 20 74 68 65 20 69 6e |Exit fro|m the in|
|00000370| 6e 65 72 6d 6f 73 74 20 | 72 65 63 75 72 73 69 76 |nermost |recursiv|
|00000380| 65 20 65 64 69 74 20 6f | 72 20 6d 69 6e 69 62 75 |e edit o|r minibu|
|00000390| 66 66 65 72 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ffer...(|defalias|
|000003a0| 20 27 65 78 69 74 2d 72 | 65 63 75 72 73 69 76 65 | 'exit-r|ecursive|
|000003b0| 2d 65 64 69 74 20 23 5b | 6e 69 6c 20 22 c0 20 c1 |-edit #[|nil ". .|
|000003c0| 56 ab 85 c2 c3 c4 5c 22 | 88 c5 c6 21 87 22 20 5b |V.....\"|...!." [|
|000003d0| 72 65 63 75 72 73 69 6f | 6e 2d 64 65 70 74 68 20 |recursio|n-depth |
|000003e0| 30 20 74 68 72 6f 77 20 | 65 78 69 74 20 6e 69 6c |0 throw |exit nil|
|000003f0| 20 65 72 72 6f 72 20 22 | 4e 6f 20 72 65 63 75 72 | error "|No recur|
|00000400| 73 69 76 65 20 65 64 69 | 74 20 69 73 20 69 6e 20 |sive edi|t is in |
|00000410| 70 72 6f 67 72 65 73 73 | 22 5d 20 33 20 28 23 24 |progress|"] 3 (#$|
|00000420| 20 2e 20 38 36 34 29 20 | 6e 69 6c 5d 29 0a 23 40 | . 864) |nil]).#@|
|00000430| 37 35 20 41 62 6f 72 74 | 20 74 68 65 20 63 6f 6d |75 Abort| the com|
|00000440| 6d 61 6e 64 20 74 68 61 | 74 20 72 65 71 75 65 73 |mand tha|t reques|
|00000450| 74 65 64 20 74 68 69 73 | 20 72 65 63 75 72 73 69 |ted this| recursi|
|00000460| 76 65 20 65 64 69 74 20 | 6f 72 20 6d 69 6e 69 62 |ve edit |or minib|
|00000470| 75 66 66 65 72 20 69 6e | 70 75 74 2e 1f 0a 28 64 |uffer in|put...(d|
|00000480| 65 66 61 6c 69 61 73 20 | 27 61 62 6f 72 74 2d 72 |efalias |'abort-r|
|00000490| 65 63 75 72 73 69 76 65 | 2d 65 64 69 74 20 23 5b |ecursive|-edit #[|
|000004a0| 6e 69 6c 20 22 c0 20 c1 | 56 ab 85 c2 c3 c4 5c 22 |nil ". .|V.....\"|
|000004b0| 88 c5 c6 21 87 22 20 5b | 72 65 63 75 72 73 69 6f |...!." [|recursio|
|000004c0| 6e 2d 64 65 70 74 68 20 | 30 20 74 68 72 6f 77 20 |n-depth |0 throw |
|000004d0| 65 78 69 74 20 74 20 65 | 72 72 6f 72 20 22 4e 6f |exit t e|rror "No|
|000004e0| 20 72 65 63 75 72 73 69 | 76 65 20 65 64 69 74 20 | recursi|ve edit |
|000004f0| 69 73 20 69 6e 20 70 72 | 6f 67 72 65 73 73 22 5d |is in pr|ogress"]|
|00000500| 20 33 20 28 23 24 20 2e | 20 31 30 37 35 29 20 6e | 3 (#$ .| 1075) n|
|00000510| 69 6c 5d 29 0a 23 40 33 | 32 35 20 53 69 67 6e 61 |il]).#@3|25 Signa|
|00000520| 6c 20 61 20 60 71 75 69 | 74 27 20 63 6f 6e 64 69 |l a `qui|t' condi|
|00000530| 74 69 6f 6e 2e 0a 49 66 | 20 74 68 69 73 20 63 68 |tion..If| this ch|
|00000540| 61 72 61 63 74 65 72 20 | 69 73 20 74 79 70 65 64 |aracter |is typed|
|00000550| 20 77 68 69 6c 65 20 6c | 69 73 70 20 63 6f 64 65 | while l|isp code|
|00000560| 20 69 73 20 65 78 65 63 | 75 74 69 6e 67 2c 20 69 | is exec|uting, i|
|00000570| 74 20 77 69 6c 6c 20 62 | 65 20 74 72 65 61 74 65 |t will b|e treate|
|00000580| 64 0a 20 61 73 20 61 6e | 20 69 6e 74 65 72 72 75 |d. as an| interru|
|00000590| 70 74 2e 0a 49 66 20 74 | 68 69 73 20 63 68 61 72 |pt..If t|his char|
|000005a0| 61 63 74 65 72 20 69 73 | 20 74 79 70 65 64 20 61 |acter is| typed a|
|000005b0| 74 20 74 6f 70 2d 6c 65 | 76 65 6c 2c 20 74 68 69 |t top-le|vel, thi|
|000005c0| 73 20 73 69 6d 70 6c 79 | 20 62 65 65 70 73 2e 0a |s simply| beeps..|
|000005d0| 49 66 20 60 7a 6d 61 63 | 73 2d 72 65 67 69 6f 6e |If `zmac|s-region|
|000005e0| 73 27 20 69 73 20 74 72 | 75 65 2c 20 61 6e 64 20 |s' is tr|ue, and |
|000005f0| 74 68 65 20 7a 6d 61 63 | 73 20 72 65 67 69 6f 6e |the zmac|s region|
|00000600| 20 69 73 20 61 63 74 69 | 76 65 20 69 6e 20 74 68 | is acti|ve in th|
|00000610| 69 73 20 62 75 66 66 65 | 72 2c 0a 74 68 65 6e 20 |is buffe|r,.then |
|00000620| 74 68 69 73 20 6b 65 79 | 20 64 65 61 63 74 69 76 |this key| deactiv|
|00000630| 61 74 65 73 20 74 68 65 | 20 72 65 67 69 6f 6e 20 |ates the| region |
|00000640| 77 69 74 68 6f 75 74 20 | 62 65 65 70 69 6e 67 20 |without |beeping |
|00000650| 6f 72 20 73 69 67 6e 61 | 6c 6c 69 6e 67 2e 1f 0a |or signa|lling...|
|00000660| 28 64 65 66 61 6c 69 61 | 73 20 27 6b 65 79 62 6f |(defalia|s 'keybo|
|00000670| 61 72 64 2d 71 75 69 74 | 20 23 5b 6e 69 6c 20 22 |ard-quit| #[nil "|
|00000680| c0 20 ad 84 70 c1 20 61 | 3f ad 84 c2 c3 c4 5c 22 |. ..p. a|?.....\"|
|00000690| 87 22 20 5b 72 65 67 69 | 6f 6e 2d 61 63 74 69 76 |." [regi|on-activ|
|000006a0| 65 2d 70 20 7a 6d 61 63 | 73 2d 72 65 67 69 6f 6e |e-p zmac|s-region|
|000006b0| 2d 62 75 66 66 65 72 20 | 73 69 67 6e 61 6c 20 71 |-buffer |signal q|
|000006c0| 75 69 74 20 6e 69 6c 5d | 20 33 20 28 23 24 20 2e |uit nil]| 3 (#$ .|
|000006d0| 20 31 33 30 37 29 20 6e | 69 6c 5d 29 0a 23 40 32 | 1307) n|il]).#@2|
|000006e0| 31 31 20 46 75 6e 63 74 | 69 6f 6e 20 74 6f 20 63 |11 Funct|ion to c|
|000006f0| 61 6c 6c 20 74 6f 20 22 | 71 75 69 74 22 20 74 68 |all to "|quit" th|
|00000700| 65 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |e curren|t buffer|
|00000710| 2c 20 6f 72 20 6e 69 6c | 20 69 66 20 6e 6f 6e 65 |, or nil| if none|
|00000720| 2e 0a 5c 5b 6b 65 79 62 | 6f 61 72 64 2d 65 73 63 |..\[keyb|oard-esc|
|00000730| 61 70 65 2d 71 75 69 74 | 5d 20 63 61 6c 6c 73 20 |ape-quit|] calls |
|00000740| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 77 68 |this fun|ction wh|
|00000750| 65 6e 20 69 74 73 20 6d | 6f 72 65 20 6c 6f 63 61 |en its m|ore loca|
|00000760| 6c 20 61 63 74 69 6f 6e | 73 0a 28 73 75 63 68 20 |l action|s.(such |
|00000770| 61 73 20 63 61 6e 63 65 | 6c 6c 69 6e 67 20 61 20 |as cance|lling a |
|00000780| 70 72 65 66 69 78 20 61 | 72 67 75 6d 65 6e 74 2c |prefix a|rgument,|
|00000790| 20 6d 69 6e 69 62 75 66 | 66 65 72 20 6f 72 20 72 | minibuf|fer or r|
|000007a0| 65 67 69 6f 6e 29 20 64 | 6f 20 6e 6f 74 20 61 70 |egion) d|o not ap|
|000007b0| 70 6c 79 2e 1f 0a 28 64 | 65 66 76 61 72 20 62 75 |ply...(d|efvar bu|
|000007c0| 66 66 65 72 2d 71 75 69 | 74 2d 66 75 6e 63 74 69 |ffer-qui|t-functi|
|000007d0| 6f 6e 20 6e 69 6c 20 28 | 23 24 20 2e 20 31 37 36 |on nil (|#$ . 176|
|000007e0| 33 29 29 0a 23 40 33 37 | 34 20 45 78 69 74 20 74 |3)).#@37|4 Exit t|
|000007f0| 68 65 20 63 75 72 72 65 | 6e 74 20 22 6d 6f 64 65 |he curre|nt "mode|
|00000800| 22 20 28 69 6e 20 61 20 | 67 65 6e 65 72 61 6c 69 |" (in a |generali|
|00000810| 7a 65 64 20 73 65 6e 73 | 65 20 6f 66 20 74 68 65 |zed sens|e of the|
|00000820| 20 77 6f 72 64 29 2e 0a | 54 68 69 73 20 63 6f 6d | word)..|This com|
|00000830| 6d 61 6e 64 20 63 61 6e | 20 65 78 69 74 20 61 6e |mand can| exit an|
|00000840| 20 69 6e 74 65 72 61 63 | 74 69 76 65 20 63 6f 6d | interac|tive com|
|00000850| 6d 61 6e 64 20 73 75 63 | 68 20 61 73 20 60 71 75 |mand suc|h as `qu|
|00000860| 65 72 79 2d 72 65 70 6c | 61 63 65 27 2c 0a 63 61 |ery-repl|ace',.ca|
|00000870| 6e 20 63 6c 65 61 72 20 | 6f 75 74 20 61 20 70 72 |n clear |out a pr|
|00000880| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 6f 72 |efix arg|ument or|
|00000890| 20 61 20 72 65 67 69 6f | 6e 2c 0a 63 61 6e 20 67 | a regio|n,.can g|
|000008a0| 65 74 20 6f 75 74 20 6f | 66 20 74 68 65 20 6d 69 |et out o|f the mi|
|000008b0| 6e 69 62 75 66 66 65 72 | 20 6f 72 20 6f 74 68 65 |nibuffer| or othe|
|000008c0| 72 20 72 65 63 75 72 73 | 69 76 65 20 65 64 69 74 |r recurs|ive edit|
|000008d0| 2c 0a 63 61 6e 63 65 6c | 20 74 68 65 20 75 73 65 |,.cancel| the use|
|000008e0| 20 6f 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 | of the |current |
|000008f0| 62 75 66 66 65 72 20 28 | 66 6f 72 20 73 70 65 63 |buffer (|for spec|
|00000900| 69 61 6c 2d 70 75 72 70 | 6f 73 65 20 62 75 66 66 |ial-purp|ose buff|
|00000910| 65 72 73 29 2c 0a 6f 72 | 20 67 6f 20 62 61 63 6b |ers),.or| go back|
|00000920| 20 74 6f 20 6a 75 73 74 | 20 6f 6e 65 20 77 69 6e | to just| one win|
|00000930| 64 6f 77 20 28 62 79 20 | 64 65 6c 65 74 69 6e 67 |dow (by |deleting|
|00000940| 20 61 6c 6c 20 62 75 74 | 20 74 68 65 20 73 65 6c | all but| the sel|
|00000950| 65 63 74 65 64 20 77 69 | 6e 64 6f 77 29 2e 1f 0a |ected wi|ndow)...|
|00000960| 28 64 65 66 61 6c 69 61 | 73 20 27 6b 65 79 62 6f |(defalia|s 'keybo|
|00000970| 61 72 64 2d 65 73 63 61 | 70 65 2d 71 75 69 74 20 |ard-esca|pe-quit |
|00000980| 23 5b 6e 69 6c 20 22 08 | c1 61 ab 82 c2 87 c3 20 |#[nil ".|.a..... |
|00000990| c4 56 ab 83 c5 20 87 0e | 06 ab 82 c2 87 c7 20 ab |.V... ..|...... .|
|000009a0| 83 c8 20 87 c9 20 c4 56 | ab 83 ca 20 87 0e 0b ab |.. .. .V|... ....|
|000009b0| 84 0e 0b 20 87 cc cd 21 | ac 83 ce 20 87 cf d0 d1 |... ...!|... ....|
|000009c0| 70 21 5c 22 ad 82 d2 20 | 87 22 20 5b 6c 61 73 74 |p!\"... |." [last|
|000009d0| 2d 63 6f 6d 6d 61 6e 64 | 20 6d 6f 64 65 2d 65 78 |-command| mode-ex|
|000009e0| 69 74 65 64 20 6e 69 6c | 20 6d 69 6e 69 62 75 66 |ited nil| minibuf|
|000009f0| 66 65 72 2d 64 65 70 74 | 68 20 30 20 61 62 6f 72 |fer-dept|h 0 abor|
|00000a00| 74 2d 72 65 63 75 72 73 | 69 76 65 2d 65 64 69 74 |t-recurs|ive-edit|
|00000a10| 20 63 75 72 72 65 6e 74 | 2d 70 72 65 66 69 78 2d | current|-prefix-|
|00000a20| 61 72 67 20 72 65 67 69 | 6f 6e 2d 61 63 74 69 76 |arg regi|on-activ|
|00000a30| 65 2d 70 20 7a 6d 61 63 | 73 2d 64 65 61 63 74 69 |e-p zmac|s-deacti|
|00000a40| 76 61 74 65 2d 72 65 67 | 69 6f 6e 20 72 65 63 75 |vate-reg|ion recu|
|00000a50| 72 73 69 6f 6e 2d 64 65 | 70 74 68 20 65 78 69 74 |rsion-de|pth exit|
|00000a60| 2d 72 65 63 75 72 73 69 | 76 65 2d 65 64 69 74 20 |-recursi|ve-edit |
|00000a70| 62 75 66 66 65 72 2d 71 | 75 69 74 2d 66 75 6e 63 |buffer-q|uit-func|
|00000a80| 74 69 6f 6e 20 6f 6e 65 | 2d 77 69 6e 64 6f 77 2d |tion one|-window-|
|00000a90| 70 20 74 20 64 65 6c 65 | 74 65 2d 6f 74 68 65 72 |p t dele|te-other|
|00000aa0| 2d 77 69 6e 64 6f 77 73 | 20 73 74 72 69 6e 67 2d |-windows| string-|
|00000ab0| 6d 61 74 63 68 20 22 5e | 20 5c 5c 2a 22 20 62 75 |match "^| \\*" bu|
|00000ac0| 66 66 65 72 2d 6e 61 6d | 65 20 62 75 72 79 2d 62 |ffer-nam|e bury-b|
|00000ad0| 75 66 66 65 72 5d 20 34 | 20 28 23 24 20 2e 20 32 |uffer] 4| (#$ . 2|
|00000ae0| 30 32 36 29 20 6e 69 6c | 5d 29 0a 23 40 31 39 20 |026) nil|]).#@19 |
|00000af0| 23 23 23 23 20 44 6f 63 | 75 6d 65 6e 74 20 6d 65 |#### Doc|ument me|
|00000b00| 2e 1f 0a 28 64 65 66 76 | 61 72 20 6c 61 73 74 2d |...(defv|ar last-|
|00000b10| 65 72 72 6f 72 20 6e 69 | 6c 20 28 23 24 20 2e 20 |error ni|l (#$ . |
|00000b20| 32 38 30 30 29 29 0a 28 | 63 75 73 74 6f 6d 2d 64 |2800)).(|custom-d|
|00000b30| 65 63 6c 61 72 65 2d 76 | 61 72 69 61 62 6c 65 20 |eclare-v|ariable |
|00000b40| 27 65 72 72 6f 72 73 2d | 64 65 61 63 74 69 76 61 |'errors-|deactiva|
|00000b50| 74 65 2d 72 65 67 69 6f | 6e 20 27 6e 69 6c 20 22 |te-regio|n 'nil "|
|00000b60| 2a 4e 6f 6e 2d 6e 69 6c | 20 6d 65 61 6e 73 20 74 |*Non-nil| means t|
|00000b70| 68 61 74 20 65 72 72 6f | 72 73 20 77 69 6c 6c 20 |hat erro|rs will |
|00000b80| 63 61 75 73 65 20 74 68 | 65 20 72 65 67 69 6f 6e |cause th|e region|
|00000b90| 20 74 6f 20 62 65 20 64 | 65 61 63 74 69 76 61 74 | to be d|eactivat|
|00000ba0| 65 64 2e 22 20 3a 74 79 | 70 65 20 27 62 6f 6f 6c |ed." :ty|pe 'bool|
|00000bb0| 65 61 6e 20 3a 67 72 6f | 75 70 20 27 65 64 69 74 |ean :gro|up 'edit|
|00000bc0| 69 6e 67 2d 62 61 73 69 | 63 73 29 0a 28 64 65 66 |ing-basi|cs).(def|
|00000bd0| 61 6c 69 61 73 20 27 63 | 6f 6d 6d 61 6e 64 2d 65 |alias 'c|ommand-e|
|00000be0| 72 72 6f 72 20 23 5b 28 | 65 72 72 6f 72 2d 6f 62 |rror #[(|error-ob|
|00000bf0| 6a 65 63 74 29 20 22 c0 | c1 5c 6e a2 1b 1c 1d c1 |ject) ".|.\n.....|
|00000c00| 16 06 c0 16 07 c0 16 08 | c1 16 09 0e 5c 6e ab 83 |........|....\n..|
|00000c10| cb 20 88 cc 20 88 5c 6e | 16 0d ce c1 21 88 cf c1 |. .. .\n|....!...|
|00000c20| 0b d0 61 ab 9e d1 5c 6e | 41 40 21 ab 94 5c 6e 41 |..a...\n|A@!..\nA|
|00000c30| 40 47 d2 55 ac 8c d3 5c | 6e 41 40 d2 48 21 ab 83 |@G.U...\|nA@.H!..|
|00000c40| d4 aa 9c d5 aa 99 0b d6 | 61 ab 83 d6 aa 91 0b d7 |........|a.......|
|00000c50| 73 ab 83 d8 aa 89 0b d9 | 61 ab 83 da aa 81 db 5c |s.......|a......\|
|00000c60| 22 88 dc 5c 6e c0 5c 22 | 88 dd 20 ab 88 ce de 21 |"..\n.\"|.. ....!|
|00000c70| 88 df e0 21 88 2b c0 87 | 22 20 5b 74 20 6e 69 6c |...!.+..|" [t nil|
|00000c80| 20 65 72 72 6f 72 2d 6f | 62 6a 65 63 74 20 65 74 | error-o|bject et|
|00000c90| 79 70 65 20 64 65 62 75 | 67 2d 6f 6e 2d 65 72 72 |ype debu|g-on-err|
|00000ca0| 6f 72 20 69 6e 68 69 62 | 69 74 2d 71 75 69 74 20 |or inhib|it-quit |
|00000cb0| 71 75 69 74 2d 66 6c 61 | 67 20 73 74 61 6e 64 61 |quit-fla|g standa|
|00000cc0| 72 64 2d 6f 75 74 70 75 | 74 20 73 74 61 6e 64 61 |rd-outpu|t standa|
|00000cd0| 72 64 2d 69 6e 70 75 74 | 20 65 78 65 63 75 74 69 |rd-input| executi|
|00000ce0| 6e 67 2d 6b 62 64 2d 6d | 61 63 72 6f 20 65 72 72 |ng-kbd-m|acro err|
|00000cf0| 6f 72 73 2d 64 65 61 63 | 74 69 76 61 74 65 2d 72 |ors-deac|tivate-r|
|00000d00| 65 67 69 6f 6e 20 7a 6d | 61 63 73 2d 64 65 61 63 |egion zm|acs-deac|
|00000d10| 74 69 76 61 74 65 2d 72 | 65 67 69 6f 6e 20 64 69 |tivate-r|egion di|
|00000d20| 73 63 61 72 64 2d 69 6e | 70 75 74 20 6c 61 73 74 |scard-in|put last|
|00000d30| 2d 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 20 64 |-error m|essage d|
|00000d40| 69 6e 67 20 75 6e 64 65 | 66 69 6e 65 64 2d 6b 65 |ing unde|fined-ke|
|00000d50| 79 73 74 72 6f 6b 65 2d | 73 65 71 75 65 6e 63 65 |ystroke-|sequence|
|00000d60| 20 76 65 63 74 6f 72 70 | 20 30 20 62 75 74 74 6f | vectorp| 0 butto|
|00000d70| 6e 2d 65 76 65 6e 74 2d | 70 20 75 6e 64 65 66 69 |n-event-|p undefi|
|00000d80| 6e 65 64 2d 63 6c 69 63 | 6b 20 75 6e 64 65 66 69 |ned-clic|k undefi|
|00000d90| 6e 65 64 2d 6b 65 79 20 | 71 75 69 74 20 28 65 6e |ned-key |quit (en|
|00000da0| 64 2d 6f 66 2d 62 75 66 | 66 65 72 20 62 65 67 69 |d-of-buf|fer begi|
|00000db0| 6e 6e 69 6e 67 2d 6f 66 | 2d 62 75 66 66 65 72 29 |nning-of|-buffer)|
|00000dc0| 20 62 75 66 66 65 72 2d | 62 6f 75 6e 64 20 62 75 | buffer-|bound bu|
|00000dd0| 66 66 65 72 2d 72 65 61 | 64 2d 6f 6e 6c 79 20 72 |ffer-rea|d-only r|
|00000de0| 65 61 64 2d 6f 6e 6c 79 | 20 63 6f 6d 6d 61 6e 64 |ead-only| command|
|00000df0| 2d 65 72 72 6f 72 20 64 | 69 73 70 6c 61 79 2d 65 |-error d|isplay-e|
|00000e00| 72 72 6f 72 20 6e 6f 6e | 69 6e 74 65 72 61 63 74 |rror non|interact|
|00000e10| 69 76 65 20 22 58 45 6d | 61 63 73 20 65 78 69 74 |ive "XEm|acs exit|
|00000e20| 69 6e 67 2e 22 20 6b 69 | 6c 6c 2d 65 6d 61 63 73 |ing." ki|ll-emacs|
|00000e30| 20 2d 31 5d 20 35 5d 29 | 0a 23 40 36 37 20 52 65 | -1] 5])|.#@67 Re|
|00000e40| 64 69 73 70 6c 61 79 20 | 74 68 65 20 6c 61 73 74 |display |the last|
|00000e50| 20 65 72 72 6f 72 2d 6d | 65 73 73 61 67 65 2e 20 | error-m|essage. |
|00000e60| 20 53 65 65 20 74 68 65 | 20 76 61 72 69 61 62 6c | See the| variabl|
|00000e70| 65 20 60 6c 61 73 74 2d | 65 72 72 6f 72 27 2e 1f |e `last-|error'..|
|00000e80| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 64 65 73 63 |.(defali|as 'desc|
|00000e90| 72 69 62 65 2d 6c 61 73 | 74 2d 65 72 72 6f 72 20 |ribe-las|t-error |
|00000ea0| 23 5b 6e 69 6c 20 22 c0 | c1 21 87 22 20 5b 77 69 |#[nil ".|.!." [wi|
|00000eb0| 74 68 2d 64 69 73 70 6c | 61 79 69 6e 67 2d 68 65 |th-displ|aying-he|
|00000ec0| 6c 70 2d 62 75 66 66 65 | 72 20 23 5b 6e 69 6c 20 |lp-buffe|r #[nil |
|00000ed0| 22 c0 c1 5c 6e 5c 22 88 | c3 0c 5c 6e 5c 22 87 22 |"..\n\".|..\n\"."|
|00000ee0| 20 5b 70 72 69 6e 63 20 | 22 4c 61 73 74 20 65 72 | [princ |"Last er|
|00000ef0| 72 6f 72 20 77 61 73 3a | 5c 6e 22 20 73 74 61 6e |ror was:|\n" stan|
|00000f00| 64 61 72 64 2d 6f 75 74 | 70 75 74 20 64 69 73 70 |dard-out|put disp|
|00000f10| 6c 61 79 2d 65 72 72 6f | 72 20 6c 61 73 74 2d 65 |lay-erro|r last-e|
|00000f20| 72 72 6f 72 5d 20 33 5d | 5d 20 32 20 28 23 24 20 |rror] 3]|] 2 (#$ |
|00000f30| 2e 20 33 36 34 36 29 20 | 6e 69 6c 5d 29 0a 28 64 |. 3646) |nil]).(d|
|00000f40| 65 66 61 6c 69 61 73 20 | 27 74 72 75 6e 63 61 74 |efalias |'truncat|
|00000f50| 65 2d 63 6f 6d 6d 61 6e | 64 2d 68 69 73 74 6f 72 |e-comman|d-histor|
|00000f60| 79 2d 66 6f 72 2d 67 63 | 20 23 5b 6e 69 6c 20 22 |y-for-gc| #[nil "|
|00000f70| c0 09 9b 89 1a ab 84 5c | 6e c3 a1 88 29 c0 0c 9b |.......\|n...)...|
|00000f80| 89 1a ad 83 5c 6e c3 a1 | 29 87 22 20 5b 33 30 20 |....\n..|)." [30 |
|00000f90| 63 6f 6d 6d 61 6e 64 2d | 68 69 73 74 6f 72 79 20 |command-|history |
|00000fa0| 74 61 69 6c 20 6e 69 6c | 20 76 61 6c 75 65 73 5d |tail nil| values]|
|00000fb0| 20 33 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 | 3]).(by|te-code |
|00000fc0| 22 c0 c1 c2 5c 22 88 c3 | c4 c5 c6 23 88 c3 c7 c5 |"...\"..|...#....|
|00000fd0| c8 23 87 22 20 5b 61 64 | 64 2d 68 6f 6f 6b 20 70 |.#." [ad|d-hook p|
|00000fe0| 72 65 2d 67 63 2d 68 6f | 6f 6b 20 74 72 75 6e 63 |re-gc-ho|ok trunc|
|00000ff0| 61 74 65 2d 63 6f 6d 6d | 61 6e 64 2d 68 69 73 74 |ate-comm|and-hist|
|00001000| 6f 72 79 2d 66 6f 72 2d | 67 63 20 70 75 74 20 66 |ory-for-|gc put f|
|00001010| 69 6c 65 2d 65 72 72 6f | 72 20 64 69 73 70 6c 61 |ile-erro|r displa|
|00001020| 79 2d 65 72 72 6f 72 20 | 23 5b 28 65 72 72 6f 72 |y-error |#[(error|
|00001030| 2d 6f 62 6a 65 63 74 20 | 73 74 72 65 61 6d 29 20 |-object |stream) |
|00001040| 22 08 41 c1 1a 1b c4 0b | 40 0d 5c 22 88 0b 41 89 |".A.....|@.\"..A.|
|00001050| 13 ad 95 c4 5c 6e ab 83 | c6 aa 81 c7 0d 5c 22 88 |....\n..|.....\".|
|00001060| c4 0b 40 0d 5c 22 88 c8 | 12 aa 65 2a 87 22 20 5b |..@.\"..|..e*." [|
|00001070| 65 72 72 6f 72 2d 6f 62 | 6a 65 63 74 20 74 20 66 |error-ob|ject t f|
|00001080| 69 72 73 74 20 74 61 69 | 6c 20 70 72 69 6e 63 20 |irst tai|l princ |
|00001090| 73 74 72 65 61 6d 20 22 | 3a 20 22 20 22 2c 20 22 |stream "|: " ", "|
|000010a0| 20 6e 69 6c 5d 20 33 5d | 20 75 6e 64 65 66 69 6e | nil] 3]| undefin|
|000010b0| 65 64 2d 6b 65 79 73 74 | 72 6f 6b 65 2d 73 65 71 |ed-keyst|roke-seq|
|000010c0| 75 65 6e 63 65 20 23 5b | 28 65 72 72 6f 72 2d 6f |uence #[|(error-o|
|000010d0| 62 6a 65 63 74 20 73 74 | 72 65 61 6d 29 20 22 c0 |bject st|ream) ".|
|000010e0| c1 5c 6e 41 40 21 0b 5c | 22 88 c0 c4 c5 21 0b 5c |.\nA@!.\|"....!.\|
|000010f0| 22 87 22 20 5b 70 72 69 | 6e 63 20 6b 65 79 2d 64 |"." [pri|nc key-d|
|00001100| 65 73 63 72 69 70 74 69 | 6f 6e 20 65 72 72 6f 72 |escripti|on error|
|00001110| 2d 6f 62 6a 65 63 74 20 | 73 74 72 65 61 6d 20 67 |-object |stream g|
|00001120| 65 74 74 65 78 74 20 22 | 20 6e 6f 74 20 64 65 66 |ettext "| not def|
|00001130| 69 6e 65 64 2e 22 5d 20 | 33 5d 5d 20 34 29 0a 28 |ined."] |3]] 4).(|
|00001140| 63 75 73 74 6f 6d 2d 64 | 65 63 6c 61 72 65 2d 76 |custom-d|eclare-v|
|00001150| 61 72 69 61 62 6c 65 20 | 27 74 65 61 63 68 2d 65 |ariable |'teach-e|
|00001160| 78 74 65 6e 64 65 64 2d | 63 6f 6d 6d 61 6e 64 73 |xtended-|commands|
|00001170| 2d 70 20 27 74 20 22 2a | 49 66 20 74 72 75 65 2c |-p 't "*|If true,|
|00001180| 20 74 68 65 6e 20 60 5c | 5c 5b 65 78 65 63 75 74 | then `\|\[execut|
|00001190| 65 2d 65 78 74 65 6e 64 | 65 64 2d 63 6f 6d 6d 61 |e-extend|ed-comma|
|000011a0| 6e 64 5d 27 20 77 69 6c | 6c 20 74 65 61 63 68 20 |nd]' wil|l teach |
|000011b0| 79 6f 75 20 6b 65 79 62 | 69 6e 64 69 6e 67 73 2e |you keyb|indings.|
|000011c0| 5c 6e 41 6e 79 20 74 69 | 6d 65 20 79 6f 75 20 65 |\nAny ti|me you e|
|000011d0| 78 65 63 75 74 65 20 61 | 20 63 6f 6d 6d 61 6e 64 |xecute a| command|
|000011e0| 20 77 69 74 68 20 5c 5c | 5b 65 78 65 63 75 74 65 | with \\|[execute|
|000011f0| 2d 65 78 74 65 6e 64 65 | 64 2d 63 6f 6d 6d 61 6e |-extende|d-comman|
|00001200| 64 5d 20 77 68 69 63 68 | 20 68 61 73 20 61 5c 6e |d] which| has a\n|
|00001210| 73 68 6f 72 74 65 72 20 | 6b 65 79 62 69 6e 64 69 |shorter |keybindi|
|00001220| 6e 67 2c 20 79 6f 75 20 | 77 69 6c 6c 20 62 65 20 |ng, you |will be |
|00001230| 73 68 6f 77 6e 20 74 68 | 65 20 61 6c 74 65 72 6e |shown th|e altern|
|00001240| 61 74 65 20 62 69 6e 64 | 69 6e 67 20 62 65 66 6f |ate bind|ing befo|
|00001250| 72 65 20 74 68 65 5c 6e | 63 6f 6d 6d 61 6e 64 20 |re the\n|command |
|00001260| 65 78 65 63 75 74 65 73 | 2e 20 20 54 68 65 72 65 |executes|. There|
|00001270| 20 69 73 20 61 20 73 68 | 6f 72 74 20 70 61 75 73 | is a sh|ort paus|
|00001280| 65 20 61 66 74 65 72 20 | 64 69 73 70 6c 61 79 69 |e after |displayi|
|00001290| 6e 67 20 74 68 65 20 62 | 69 6e 64 69 6e 67 2c 5c |ng the b|inding,\|
|000012a0| 6e 62 65 66 6f 72 65 20 | 65 78 65 63 75 74 69 6e |nbefore |executin|
|000012b0| 67 20 69 74 3b 20 74 68 | 65 20 6c 65 6e 67 74 68 |g it; th|e length|
|000012c0| 20 63 61 6e 20 62 65 20 | 63 6f 6e 74 72 6f 6c 6c | can be |controll|
|000012d0| 65 64 20 62 79 5c 6e 60 | 74 65 61 63 68 2d 65 78 |ed by\n`|teach-ex|
|000012e0| 74 65 6e 64 65 64 2d 63 | 6f 6d 6d 61 6e 64 73 2d |tended-c|ommands-|
|000012f0| 74 69 6d 65 6f 75 74 27 | 2e 22 20 3a 74 79 70 65 |timeout'|." :type|
|00001300| 20 27 62 6f 6f 6c 65 61 | 6e 20 3a 67 72 6f 75 70 | 'boolea|n :group|
|00001310| 20 27 6b 65 79 62 6f 61 | 72 64 29 0a 28 63 75 73 | 'keyboa|rd).(cus|
|00001320| 74 6f 6d 2d 64 65 63 6c | 61 72 65 2d 76 61 72 69 |tom-decl|are-vari|
|00001330| 61 62 6c 65 20 27 74 65 | 61 63 68 2d 65 78 74 65 |able 'te|ach-exte|
|00001340| 6e 64 65 64 2d 63 6f 6d | 6d 61 6e 64 73 2d 74 69 |nded-com|mands-ti|
|00001350| 6d 65 6f 75 74 20 27 34 | 20 22 2a 48 6f 77 20 6c |meout '4| "*How l|
|00001360| 6f 6e 67 20 74 6f 20 70 | 61 75 73 65 20 61 66 74 |ong to p|ause aft|
|00001370| 65 72 20 64 69 73 70 6c | 61 79 69 6e 67 20 61 20 |er displ|aying a |
|00001380| 6b 65 79 62 69 6e 64 69 | 6e 67 20 62 65 66 6f 72 |keybindi|ng befor|
|00001390| 65 20 65 78 65 63 75 74 | 69 6e 67 2e 5c 6e 54 68 |e execut|ing.\nTh|
|000013a0| 65 20 76 61 6c 75 65 20 | 69 73 20 6d 65 61 73 75 |e value |is measu|
|000013b0| 72 65 64 20 69 6e 20 73 | 65 63 6f 6e 64 73 2e 20 |red in s|econds. |
|000013c0| 20 54 68 69 73 20 6f 6e | 6c 79 20 61 70 70 6c 69 | This on|ly appli|
|000013d0| 65 73 20 69 66 5c 6e 60 | 74 65 61 63 68 2d 65 78 |es if\n`|teach-ex|
|000013e0| 74 65 6e 64 65 64 2d 63 | 6f 6d 6d 61 6e 64 73 2d |tended-c|ommands-|
|000013f0| 70 27 20 69 73 20 74 72 | 75 65 2e 22 20 3a 74 79 |p' is tr|ue." :ty|
|00001400| 70 65 20 27 6e 75 6d 62 | 65 72 20 3a 67 72 6f 75 |pe 'numb|er :grou|
|00001410| 70 20 27 6b 65 79 62 6f | 61 72 64 29 0a 23 40 32 |p 'keybo|ard).#@2|
|00001420| 39 38 20 52 65 61 64 20 | 61 20 63 6f 6d 6d 61 6e |98 Read |a comman|
|00001430| 64 20 6e 61 6d 65 20 66 | 72 6f 6d 20 74 68 65 20 |d name f|rom the |
|00001440| 6d 69 6e 69 62 75 66 66 | 65 72 20 75 73 69 6e 67 |minibuff|er using|
|00001450| 20 27 63 6f 6d 70 6c 65 | 74 69 6e 67 2d 72 65 61 | 'comple|ting-rea|
|00001460| 64 27 2e 0a 54 68 65 6e | 20 63 61 6c 6c 20 74 68 |d'..Then| call th|
|00001470| 65 20 73 70 65 63 69 66 | 69 65 64 20 63 6f 6d 6d |e specif|ied comm|
|00001480| 61 6e 64 20 75 73 69 6e | 67 20 27 63 6f 6d 6d 61 |and usin|g 'comma|
|00001490| 6e 64 2d 65 78 65 63 75 | 74 65 27 20 61 6e 64 20 |nd-execu|te' and |
|000014a0| 72 65 74 75 72 6e 20 69 | 74 73 0a 72 65 74 75 72 |return i|ts.retur|
|000014b0| 6e 20 76 61 6c 75 65 2e | 20 20 49 66 20 74 68 65 |n value.| If the|
|000014c0| 20 63 6f 6d 6d 61 6e 64 | 20 61 73 6b 73 20 66 6f | command| asks fo|
|000014d0| 72 20 61 20 70 72 65 66 | 69 78 20 61 72 67 75 6d |r a pref|ix argum|
|000014e0| 65 6e 74 2c 20 73 75 70 | 70 6c 79 20 74 68 65 0a |ent, sup|ply the.|
|000014f0| 76 61 6c 75 65 20 6f 66 | 20 74 68 65 20 63 75 72 |value of| the cur|
|00001500| 72 65 6e 74 20 72 61 77 | 20 70 72 65 66 69 78 20 |rent raw| prefix |
|00001510| 61 72 67 75 6d 65 6e 74 | 2c 20 6f 72 20 74 68 65 |argument|, or the|
|00001520| 20 76 61 6c 75 65 20 6f | 66 20 50 52 45 46 49 58 | value o|f PREFIX|
|00001530| 2d 41 52 47 0a 77 68 65 | 6e 20 63 61 6c 6c 65 64 |-ARG.whe|n called|
|00001540| 20 66 72 6f 6d 20 4c 69 | 73 70 2e 1f 0a 28 64 65 | from Li|sp...(de|
|00001550| 66 61 6c 69 61 73 20 27 | 65 78 65 63 75 74 65 2d |falias '|execute-|
|00001560| 65 78 74 65 6e 64 65 64 | 2d 63 6f 6d 6d 61 6e 64 |extended|-command|
|00001570| 20 23 5b 28 70 72 65 66 | 69 78 2d 61 72 67 29 20 | #[(pref|ix-arg) |
|00001580| 22 08 18 c1 08 c2 61 ab | 83 c3 aa a3 08 c4 6b ab |".....a.|......k.|
|00001590| 83 c5 aa 9b 08 a8 ab 86 | c6 c7 08 5c 22 aa 91 08 |........|...\"...|
|000015a0| 3a ab 8c 08 40 a8 ab 87 | c6 c7 08 40 5c 22 aa 81 |:...@...|...@\"..|
|000015b0| c8 21 16 09 29 0e 5c 6e | ab bc 74 ab b9 cb 0e 09 |.!..).\n|..t.....|
|000015c0| 21 0e 09 1e 0c 1e 0d ce | 0e 09 cf 5c 22 88 0e 0d |!.......|...\"...|
|000015d0| ad a3 d0 d1 21 ad 9e d2 | d3 c6 d4 0e 0c 0e 0d 41 |....!...|.......A|
|000015e0| ab 83 d5 aa 81 d6 d7 0e | 0d 21 24 5c 22 88 d0 0e |........|.!$\"...|
|000015f0| 18 21 88 d9 d3 21 2a 87 | ce 0e 09 cf 5c 22 87 22 |.!...!*.|....\"."|
|00001600| 20 5b 70 72 65 66 69 78 | 2d 61 72 67 20 72 65 61 | [prefix|-arg rea|
|00001610| 64 2d 63 6f 6d 6d 61 6e | 64 20 2d 20 22 2d 20 4d |d-comman|d - "- M|
|00001620| 2d 78 20 22 20 28 34 29 | 20 22 43 2d 75 20 4d 2d |-x " (4)| "C-u M-|
|00001630| 78 20 22 20 66 6f 72 6d | 61 74 20 22 25 64 20 4d |x " form|at "%d M|
|00001640| 2d 78 20 22 20 22 4d 2d | 78 20 22 20 74 68 69 73 |-x " "M-|x " this|
|00001650| 2d 63 6f 6d 6d 61 6e 64 | 20 74 65 61 63 68 2d 65 |-command| teach-e|
|00001660| 78 74 65 6e 64 65 64 2d | 63 6f 6d 6d 61 6e 64 73 |xtended-|commands|
|00001670| 2d 70 20 77 68 65 72 65 | 2d 69 73 2d 69 6e 74 65 |-p where|-is-inte|
|00001680| 72 6e 61 6c 20 5f 65 78 | 65 63 75 74 65 5f 63 6f |rnal _ex|ecute_co|
|00001690| 6d 6d 61 6e 64 5f 6e 61 | 6d 65 5f 20 5f 65 78 65 |mmand_na|me_ _exe|
|000016a0| 63 75 74 65 5f 63 6f 6d | 6d 61 6e 64 5f 6b 65 79 |cute_com|mand_key|
|000016b0| 73 5f 20 63 6f 6d 6d 61 | 6e 64 2d 65 78 65 63 75 |s_ comma|nd-execu|
|000016c0| 74 65 20 74 20 73 69 74 | 2d 66 6f 72 20 31 20 64 |te t sit|-for 1 d|
|000016d0| 69 73 70 6c 61 79 2d 6d | 65 73 73 61 67 65 20 6e |isplay-m|essage n|
|000016e0| 6f 2d 6c 6f 67 20 22 43 | 6f 6d 6d 61 6e 64 20 60 |o-log "C|ommand `|
|000016f0| 25 73 27 20 69 73 20 62 | 6f 75 6e 64 20 74 6f 20 |%s' is b|ound to |
|00001700| 6b 65 79 25 73 3a 20 25 | 73 22 20 22 73 22 20 22 |key%s: %|s" "s" "|
|00001710| 22 20 73 6f 72 74 65 64 | 2d 6b 65 79 2d 64 65 73 |" sorted|-key-des|
|00001720| 63 72 69 70 74 69 6f 6e | 73 20 74 65 61 63 68 2d |cription|s teach-|
|00001730| 65 78 74 65 6e 64 65 64 | 2d 63 6f 6d 6d 61 6e 64 |extended|-command|
|00001740| 73 2d 74 69 6d 65 6f 75 | 74 20 63 6c 65 61 72 2d |s-timeou|t clear-|
|00001750| 6d 65 73 73 61 67 65 5d | 20 38 20 28 23 24 20 2e |message]| 8 (#$ .|
|00001760| 20 35 31 35 35 29 20 22 | 50 22 5d 29 0a 23 40 33 | 5155) "|P"]).#@3|
|00001770| 32 30 20 41 73 6b 20 75 | 73 65 72 20 61 20 22 79 |20 Ask u|ser a "y|
|00001780| 20 6f 72 20 6e 22 20 71 | 75 65 73 74 69 6f 6e 2e | or n" q|uestion.|
|00001790| 20 20 52 65 74 75 72 6e | 20 74 20 69 66 20 61 6e | Return| t if an|
|000017a0| 73 77 65 72 20 69 73 20 | 22 79 22 2e 0a 54 61 6b |swer is |"y"..Tak|
|000017b0| 65 73 20 6f 6e 65 20 61 | 72 67 75 6d 65 6e 74 2c |es one a|rgument,|
|000017c0| 20 77 68 69 63 68 20 69 | 73 20 74 68 65 20 73 74 | which i|s the st|
|000017d0| 72 69 6e 67 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |ring to |display |
|000017e0| 74 6f 20 61 73 6b 20 74 | 68 65 20 71 75 65 73 74 |to ask t|he quest|
|000017f0| 69 6f 6e 2e 0a 49 74 20 | 73 68 6f 75 6c 64 20 65 |ion..It |should e|
|00001800| 6e 64 20 69 6e 20 61 20 | 73 70 61 63 65 3b 20 60 |nd in a |space; `|
|00001810| 79 2d 6f 72 2d 6e 2d 70 | 27 20 61 64 64 73 20 60 |y-or-n-p|' adds `|
|00001820| 28 79 20 6f 72 20 6e 29 | 20 27 20 74 6f 20 69 74 |(y or n)| ' to it|
|00001830| 2e 0a 4e 6f 20 63 6f 6e | 66 69 72 6d 61 74 69 6f |..No con|firmatio|
|00001840| 6e 20 6f 66 20 74 68 65 | 20 61 6e 73 77 65 72 20 |n of the| answer |
|00001850| 69 73 20 72 65 71 75 65 | 73 74 65 64 3b 20 61 20 |is reque|sted; a |
|00001860| 73 69 6e 67 6c 65 20 63 | 68 61 72 61 63 74 65 72 |single c|haracter|
|00001870| 20 69 73 20 65 6e 6f 75 | 67 68 2e 0a 41 6c 73 6f | is enou|gh..Also|
|00001880| 20 61 63 63 65 70 74 73 | 20 53 70 61 63 65 20 74 | accepts| Space t|
|00001890| 6f 20 6d 65 61 6e 20 79 | 65 73 2c 20 6f 72 20 44 |o mean y|es, or D|
|000018a0| 65 6c 65 74 65 20 74 6f | 20 6d 65 61 6e 20 6e 6f |elete to| mean no|
|000018b0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 79 2d |...(defa|lias 'y-|
|000018c0| 6f 72 2d 6e 2d 70 2d 6d | 69 6e 69 62 75 66 20 23 |or-n-p-m|inibuf #|
|000018d0| 5b 28 70 72 6f 6d 70 74 | 29 20 22 8a c0 19 c2 c3 |[(prompt|) ".....|
|000018e0| 21 1c c2 0d 21 1d c6 1e | 07 0c 3b 83 b4 00 c8 89 |!...!...|..;.....|
|000018f0| 1e 09 1e 5c 6e cb cc 09 | 0d 0c 24 88 cd 0e 07 21 |...\n...|..$....!|
|00001900| 16 07 c6 ce cf 8f 2a ab | 93 cb d0 09 0d 0c d1 0e |......*.|........|
|00001910| 07 21 25 88 c6 16 12 d3 | d4 c6 5c 22 88 d5 d6 0e |.!%.....|..\"....|
|00001920| 07 21 21 1e 17 d8 0e 19 | 0e 17 5c 22 89 1e 1a db |.!!.....|..\"....|
|00001930| 61 ab 8a cb dc 0d 0c 23 | 88 c6 14 aa d1 0e 1a dd |a......#|........|
|00001940| 61 ab 8a cb de 0d 0c 23 | 88 c8 14 aa c1 0e 1a df |a......#|........|
|00001950| 61 ab 85 df 20 88 aa b6 | 0e 1a d4 61 ac 86 0e 1a |a... ...|...a....|
|00001960| e0 61 ab 87 d3 d4 c6 5c | 22 88 aa a3 e1 0e 07 21 |.a.....\|"......!|
|00001970| ac 9d cb d0 09 0d 0c d1 | 0e 07 21 25 88 e2 c6 e3 |........|..!%....|
|00001980| 5c 22 88 e4 20 88 09 47 | e5 55 ab 84 c2 e6 21 11 |\".. ..G|.U....!.|
|00001990| 2a 82 0e 00 0c 2d 87 22 | 20 5b 22 22 20 70 72 65 |*....-."| ["" pre|
|000019a0| 20 67 65 74 74 65 78 74 | 20 22 28 79 20 6f 72 20 | gettext| "(y or |
|000019b0| 6e 29 20 22 20 79 6e 20 | 70 72 6f 6d 70 74 20 6e |n) " yn |prompt n|
|000019c0| 69 6c 20 65 76 65 6e 74 | 20 74 20 69 6e 68 69 62 |il event| t inhib|
|000019d0| 69 74 2d 71 75 69 74 20 | 63 75 72 73 6f 72 2d 69 |it-quit |cursor-i|
|000019e0| 6e 2d 65 63 68 6f 2d 61 | 72 65 61 20 6d 65 73 73 |n-echo-a|rea mess|
|000019f0| 61 67 65 20 22 25 73 25 | 73 25 73 22 20 6e 65 78 |age "%s%|s%s" nex|
|00001a00| 74 2d 63 6f 6d 6d 61 6e | 64 2d 65 76 65 6e 74 20 |t-comman|d-event |
|00001a10| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 ae 85 c1 |(byte-co|de "....|
|00001a20| 5c 6e 21 c3 61 c4 10 87 | 22 20 5b 71 75 69 74 2d |\n!.a...|" [quit-|
|00001a30| 66 6c 61 67 20 6b 65 79 | 2d 62 69 6e 64 69 6e 67 |flag key|-binding|
|00001a40| 20 65 76 65 6e 74 20 6b | 65 79 62 6f 61 72 64 2d | event k|eyboard-|
|00001a50| 71 75 69 74 20 6e 69 6c | 5d 20 32 29 20 28 28 77 |quit nil|] 2) ((w|
|00001a60| 72 6f 6e 67 2d 74 79 70 | 65 2d 61 72 67 75 6d 65 |rong-typ|e-argume|
|00001a70| 6e 74 20 74 29 29 20 22 | 25 73 25 73 25 73 25 73 |nt t)) "|%s%s%s%s|
|00001a80| 22 20 73 69 6e 67 6c 65 | 2d 6b 65 79 2d 64 65 73 |" single|-key-des|
|00001a90| 63 72 69 70 74 69 6f 6e | 20 71 75 69 74 2d 66 6c |cription| quit-fl|
|00001aa0| 61 67 20 73 69 67 6e 61 | 6c 20 71 75 69 74 20 65 |ag signa|l quit e|
|00001ab0| 76 65 6e 74 73 2d 74 6f | 2d 6b 65 79 73 20 76 65 |vents-to|-keys ve|
|00001ac0| 63 74 6f 72 20 6b 65 79 | 73 20 6c 6f 6f 6b 75 70 |ctor key|s lookup|
|00001ad0| 2d 6b 65 79 20 71 75 65 | 72 79 2d 72 65 70 6c 61 |-key que|ry-repla|
|00001ae0| 63 65 2d 6d 61 70 20 64 | 65 66 20 73 6b 69 70 20 |ce-map d|ef skip |
|00001af0| 22 25 73 25 73 4e 6f 22 | 20 61 63 74 20 22 25 73 |"%s%sNo"| act "%s|
|00001b00| 25 73 59 65 73 22 20 72 | 65 63 65 6e 74 65 72 20 |%sYes" r|ecenter |
|00001b10| 65 78 69 74 2d 70 72 65 | 66 69 78 20 62 75 74 74 |exit-pre|fix butt|
|00001b20| 6f 6e 2d 72 65 6c 65 61 | 73 65 2d 65 76 65 6e 74 |on-relea|se-event|
|00001b30| 2d 70 20 64 69 6e 67 20 | 79 2d 6f 72 2d 6e 2d 70 |-p ding |y-or-n-p|
|00001b40| 20 64 69 73 63 61 72 64 | 2d 69 6e 70 75 74 20 30 | discard|-input 0|
|00001b50| 20 22 50 6c 65 61 73 65 | 20 61 6e 73 77 65 72 20 | "Please| answer |
|00001b60| 79 20 6f 72 20 6e 2e 20 | 20 22 5d 20 38 20 28 23 |y or n. | "] 8 (#|
|00001b70| 24 20 2e 20 36 30 30 33 | 29 5d 29 0a 23 40 32 38 |$ . 6003|)]).#@28|
|00001b80| 37 20 41 73 6b 20 75 73 | 65 72 20 61 20 79 65 73 |7 Ask us|er a yes|
|00001b90| 2d 6f 72 2d 6e 6f 20 71 | 75 65 73 74 69 6f 6e 2e |-or-no q|uestion.|
|00001ba0| 20 20 52 65 74 75 72 6e | 20 74 20 69 66 20 61 6e | Return| t if an|
|00001bb0| 73 77 65 72 20 69 73 20 | 79 65 73 2e 0a 54 61 6b |swer is |yes..Tak|
|00001bc0| 65 73 20 6f 6e 65 20 61 | 72 67 75 6d 65 6e 74 2c |es one a|rgument,|
|00001bd0| 20 77 68 69 63 68 20 69 | 73 20 74 68 65 20 73 74 | which i|s the st|
|00001be0| 72 69 6e 67 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |ring to |display |
|00001bf0| 74 6f 20 61 73 6b 20 74 | 68 65 20 71 75 65 73 74 |to ask t|he quest|
|00001c00| 69 6f 6e 2e 0a 49 74 20 | 73 68 6f 75 6c 64 20 65 |ion..It |should e|
|00001c10| 6e 64 20 69 6e 20 61 20 | 73 70 61 63 65 3b 20 60 |nd in a |space; `|
|00001c20| 79 65 73 2d 6f 72 2d 6e | 6f 2d 70 27 20 61 64 64 |yes-or-n|o-p' add|
|00001c30| 73 20 60 28 79 65 73 20 | 6f 72 20 6e 6f 29 20 27 |s `(yes |or no) '|
|00001c40| 20 74 6f 20 69 74 2e 0a | 54 68 65 20 75 73 65 72 | to it..|The user|
|00001c50| 20 6d 75 73 74 20 63 6f | 6e 66 69 72 6d 20 74 68 | must co|nfirm th|
|00001c60| 65 20 61 6e 73 77 65 72 | 20 77 69 74 68 20 52 45 |e answer| with RE|
|00001c70| 54 2c 0a 61 6e 64 20 63 | 61 6e 20 65 64 69 74 20 |T,.and c|an edit |
|00001c80| 69 74 20 75 6e 74 69 6c | 20 69 74 20 68 61 73 20 |it until| it has |
|00001c90| 62 65 65 6e 20 63 6f 6e | 66 69 72 6d 65 64 2e 1f |been con|firmed..|
|00001ca0| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 79 65 73 2d |.(defali|as 'yes-|
|00001cb0| 6f 72 2d 6e 6f 2d 70 2d | 6d 69 6e 69 62 75 66 20 |or-no-p-|minibuf |
|00001cc0| 23 5b 28 70 72 6f 6d 70 | 74 29 20 22 8a c0 09 21 |#[(promp|t) "...!|
|00001cd0| c0 c2 21 50 c3 1c 1d 0c | 3b ab b1 c6 0d c7 c8 23 |..!P....|;......#|
|00001ce0| 97 89 14 c0 c9 21 98 ab | 85 c8 89 14 aa 6a 0c c0 |.....!..|.....j..|
|00001cf0| ca 21 98 ab 85 c7 89 14 | aa 5e cb c7 cc 5c 22 88 |.!......|.^...\".|
|00001d00| cd 20 88 ce cf 21 88 d0 | d1 21 88 aa 4b 0c 2b 87 |. ...!..|.!..K.+.|
|00001d10| 22 20 5b 67 65 74 74 65 | 78 74 20 70 72 6f 6d 70 |" [gette|xt promp|
|00001d20| 74 20 22 28 79 65 73 20 | 6f 72 20 6e 6f 29 20 22 |t "(yes |or no) "|
|00001d30| 20 22 22 20 61 6e 73 20 | 70 20 72 65 61 64 2d 73 | "" ans |p read-s|
|00001d40| 74 72 69 6e 67 20 6e 69 | 6c 20 74 20 22 79 65 73 |tring ni|l t "yes|
|00001d50| 22 20 22 6e 6f 22 20 64 | 69 6e 67 20 79 65 73 2d |" "no" d|ing yes-|
|00001d60| 6f 72 2d 6e 6f 2d 70 20 | 64 69 73 63 61 72 64 2d |or-no-p |discard-|
|00001d70| 69 6e 70 75 74 20 6d 65 | 73 73 61 67 65 20 22 50 |input me|ssage "P|
|00001d80| 6c 65 61 73 65 20 61 6e | 73 77 65 72 20 79 65 73 |lease an|swer yes|
|00001d90| 20 6f 72 20 6e 6f 2e 22 | 20 73 6c 65 65 70 2d 66 | or no."| sleep-f|
|00001da0| 6f 72 20 32 5d 20 35 20 | 28 23 24 20 2e 20 37 30 |or 2] 5 |(#$ . 70|
|00001db0| 34 32 29 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |42)]).(b|yte-code|
|00001dc0| 20 22 c0 c1 c2 5c 22 88 | c0 c3 c4 5c 22 87 22 20 | "...\".|...\"." |
|00001dd0| 5b 64 65 66 69 6e 65 2d | 66 75 6e 63 74 69 6f 6e |[define-|function|
|00001de0| 20 79 65 73 2d 6f 72 2d | 6e 6f 2d 70 20 79 65 73 | yes-or-|no-p yes|
|00001df0| 2d 6f 72 2d 6e 6f 2d 70 | 2d 6d 69 6e 69 62 75 66 |-or-no-p|-minibuf|
|00001e00| 20 79 2d 6f 72 2d 6e 2d | 70 20 79 2d 6f 72 2d 6e | y-or-n-|p y-or-n|
|00001e10| 2d 70 2d 6d 69 6e 69 62 | 75 66 5d 20 33 29 0a 23 |-p-minib|uf] 3).#|
|00001e20| 40 33 30 36 20 52 65 61 | 64 20 61 20 63 68 61 72 |@306 Rea|d a char|
|00001e30| 61 63 74 65 72 20 66 72 | 6f 6d 20 74 68 65 20 63 |acter fr|om the c|
|00001e40| 6f 6d 6d 61 6e 64 20 69 | 6e 70 75 74 20 28 6b 65 |ommand i|nput (ke|
|00001e50| 79 62 6f 61 72 64 20 6f | 72 20 6d 61 63 72 6f 29 |yboard o|r macro)|
|00001e60| 2e 0a 49 66 20 61 20 6d | 6f 75 73 65 20 63 6c 69 |..If a m|ouse cli|
|00001e70| 63 6b 20 6f 72 20 6e 6f | 6e 2d 41 53 43 49 49 20 |ck or no|n-ASCII |
|00001e80| 63 68 61 72 61 63 74 65 | 72 20 69 73 20 64 65 74 |characte|r is det|
|00001e90| 65 63 74 65 64 2c 20 61 | 6e 20 65 72 72 6f 72 20 |ected, a|n error |
|00001ea0| 69 73 0a 73 69 67 6e 61 | 6c 6c 65 64 2e 20 20 54 |is.signa|lled. T|
|00001eb0| 68 65 20 63 68 61 72 61 | 63 74 65 72 20 74 79 70 |he chara|cter typ|
|00001ec0| 65 64 20 69 73 20 72 65 | 74 75 72 6e 65 64 20 61 |ed is re|turned a|
|00001ed0| 73 20 61 6e 20 41 53 43 | 49 49 20 76 61 6c 75 65 |s an ASC|II value|
|00001ee0| 2e 20 20 54 68 69 73 0a | 69 73 20 6d 6f 73 74 20 |. This.|is most |
|00001ef0| 6c 69 6b 65 6c 79 20 74 | 68 65 20 77 72 6f 6e 67 |likely t|he wrong|
|00001f00| 20 74 68 69 6e 67 20 66 | 6f 72 20 79 6f 75 20 74 | thing f|or you t|
|00001f10| 6f 20 62 65 20 75 73 69 | 6e 67 3a 20 63 6f 6e 73 |o be usi|ng: cons|
|00001f20| 69 64 65 72 20 75 73 69 | 6e 67 0a 74 68 65 20 60 |ider usi|ng.the `|
|00001f30| 6e 65 78 74 2d 63 6f 6d | 6d 61 6e 64 2d 65 76 65 |next-com|mand-eve|
|00001f40| 6e 74 27 20 66 75 6e 63 | 74 69 6f 6e 20 69 6e 73 |nt' func|tion ins|
|00001f50| 74 65 61 64 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |tead...(|defalias|
|00001f60| 20 27 72 65 61 64 2d 63 | 68 61 72 20 23 5b 6e 69 | 'read-c|har #[ni|
|00001f70| 6c 20 22 8a c0 19 c2 20 | 1b c4 0b 21 ae 90 c5 0b |l ".... |...!....|
|00001f80| 21 ab 87 c4 c2 0b 21 21 | ae 84 c6 c7 0b 5c 22 c8 |!.....!!|.....\".|
|00001f90| 0b 21 88 2b 87 22 20 5b | 74 20 69 6e 68 69 62 69 |.!.+." [|t inhibi|
|00001fa0| 74 2d 71 75 69 74 20 6e | 65 78 74 2d 63 6f 6d 6d |t-quit n|ext-comm|
|00001fb0| 61 6e 64 2d 65 76 65 6e | 74 20 65 76 65 6e 74 20 |and-even|t event |
|00001fc0| 65 76 65 6e 74 2d 74 6f | 2d 63 68 61 72 61 63 74 |event-to|-charact|
|00001fd0| 65 72 20 62 75 74 74 6f | 6e 2d 72 65 6c 65 61 73 |er butto|n-releas|
|00001fe0| 65 2d 65 76 65 6e 74 2d | 70 20 65 72 72 6f 72 20 |e-event-|p error |
|00001ff0| 22 4b 65 79 20 72 65 61 | 64 20 68 61 73 20 6e 6f |"Key rea|d has no|
|00002000| 20 41 53 43 49 49 20 65 | 71 75 69 76 61 6c 65 6e | ASCII e|quivalen|
|00002010| 74 20 25 53 22 20 64 65 | 61 6c 6c 6f 63 61 74 65 |t %S" de|allocate|
|00002020| 2d 65 76 65 6e 74 5d 20 | 33 20 28 23 24 20 2e 20 |-event] |3 (#$ . |
|00002030| 37 37 31 37 29 5d 29 0a | 23 40 32 39 39 20 52 65 |7717)]).|#@299 Re|
|00002040| 61 64 20 61 20 63 68 61 | 72 61 63 74 65 72 20 66 |ad a cha|racter f|
|00002050| 72 6f 6d 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |rom the |command |
|00002060| 69 6e 70 75 74 20 28 6b | 65 79 62 6f 61 72 64 20 |input (k|eyboard |
|00002070| 6f 72 20 6d 61 63 72 6f | 29 2e 0a 49 66 20 61 20 |or macro|)..If a |
|00002080| 6d 6f 75 73 65 20 63 6c | 69 63 6b 20 6f 72 20 6e |mouse cl|ick or n|
|00002090| 6f 6e 2d 41 53 43 49 49 | 20 63 68 61 72 61 63 74 |on-ASCII| charact|
|000020a0| 65 72 20 69 73 20 64 65 | 74 65 63 74 65 64 2c 20 |er is de|tected, |
|000020b0| 69 74 20 69 73 20 64 69 | 73 63 61 72 64 65 64 2e |it is di|scarded.|
|000020c0| 0a 54 68 65 20 63 68 61 | 72 61 63 74 65 72 20 74 |.The cha|racter t|
|000020d0| 79 70 65 64 20 69 73 20 | 72 65 74 75 72 6e 65 64 |yped is |returned|
|000020e0| 20 61 73 20 61 6e 20 41 | 53 43 49 49 20 76 61 6c | as an A|SCII val|
|000020f0| 75 65 2e 20 20 54 68 69 | 73 20 69 73 20 6d 6f 73 |ue. Thi|s is mos|
|00002100| 74 20 6c 69 6b 65 6c 79 | 0a 74 68 65 20 77 72 6f |t likely|.the wro|
|00002110| 6e 67 20 74 68 69 6e 67 | 20 66 6f 72 20 79 6f 75 |ng thing| for you|
|00002120| 20 74 6f 20 62 65 20 75 | 73 69 6e 67 3a 20 63 6f | to be u|sing: co|
|00002130| 6e 73 69 64 65 72 20 75 | 73 69 6e 67 20 74 68 65 |nsider u|sing the|
|00002140| 0a 60 6e 65 78 74 2d 63 | 6f 6d 6d 61 6e 64 2d 65 |.`next-c|ommand-e|
|00002150| 76 65 6e 74 27 20 66 75 | 6e 63 74 69 6f 6e 20 69 |vent' fu|nction i|
|00002160| 6e 73 74 65 61 64 2e 1f | 0a 28 64 65 66 61 6c 69 |nstead..|.(defali|
|00002170| 61 73 20 27 72 65 61 64 | 2d 63 68 61 72 2d 65 78 |as 'read|-char-ex|
|00002180| 63 6c 75 73 69 76 65 20 | 23 5b 6e 69 6c 20 22 c0 |clusive |#[nil ".|
|00002190| c1 89 1a 1b 1c c5 20 13 | c6 0b 21 12 c7 0b 21 88 |...... .|..!...!.|
|000021a0| 5c 6e ab 72 5c 6e 2b 87 | 22 20 5b 74 20 6e 69 6c |\n.r\n+.|" [t nil|
|000021b0| 20 63 68 20 65 76 65 6e | 74 20 69 6e 68 69 62 69 | ch even|t inhibi|
|000021c0| 74 2d 71 75 69 74 20 6e | 65 78 74 2d 63 6f 6d 6d |t-quit n|ext-comm|
|000021d0| 61 6e 64 2d 65 76 65 6e | 74 20 65 76 65 6e 74 2d |and-even|t event-|
|000021e0| 74 6f 2d 63 68 61 72 61 | 63 74 65 72 20 64 65 61 |to-chara|cter dea|
|000021f0| 6c 6c 6f 63 61 74 65 2d | 65 76 65 6e 74 5d 20 33 |llocate-|event] 3|
|00002200| 20 28 23 24 20 2e 20 38 | 32 35 34 29 5d 29 0a 23 | (#$ . 8|254)]).#|
|00002210| 40 32 37 30 20 4c 69 6b | 65 20 60 72 65 61 64 2d |@270 Lik|e `read-|
|00002220| 63 68 61 72 27 2c 20 65 | 78 63 65 70 74 20 74 68 |char', e|xcept th|
|00002230| 61 74 20 69 66 20 74 68 | 65 20 66 69 72 73 74 20 |at if th|e first |
|00002240| 63 68 61 72 61 63 74 65 | 72 20 72 65 61 64 20 69 |characte|r read i|
|00002250| 73 20 61 6e 20 6f 63 74 | 61 6c 0a 64 69 67 69 74 |s an oct|al.digit|
|00002260| 2c 20 77 65 20 72 65 61 | 64 20 75 70 20 74 6f 20 |, we rea|d up to |
|00002270| 74 77 6f 20 6d 6f 72 65 | 20 6f 63 74 61 6c 20 64 |two more| octal d|
|00002280| 69 67 69 74 73 20 61 6e | 64 20 72 65 74 75 72 6e |igits an|d return|
|00002290| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 0a 72 | the cha|racter.r|
|000022a0| 65 70 72 65 73 65 6e 74 | 65 64 20 62 79 20 74 68 |epresent|ed by th|
|000022b0| 65 20 6f 63 74 61 6c 20 | 6e 75 6d 62 65 72 20 63 |e octal |number c|
|000022c0| 6f 6e 73 69 73 74 69 6e | 67 20 6f 66 20 74 68 6f |onsistin|g of tho|
|000022d0| 73 65 20 64 69 67 69 74 | 73 2e 0a 4f 70 74 69 6f |se digit|s..Optio|
|000022e0| 6e 61 6c 20 61 72 67 75 | 6d 65 6e 74 20 50 52 4f |nal argu|ment PRO|
|000022f0| 4d 50 54 20 73 70 65 63 | 69 66 69 65 73 20 61 20 |MPT spec|ifies a |
|00002300| 73 74 72 69 6e 67 20 74 | 6f 20 75 73 65 20 74 6f |string t|o use to|
|00002310| 20 70 72 6f 6d 70 74 20 | 74 68 65 20 75 73 65 72 | prompt |the user|
|00002320| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 72 65 |...(defa|lias 're|
|00002330| 61 64 2d 71 75 6f 74 65 | 64 2d 63 68 61 72 20 23 |ad-quote|d-char #|
|00002340| 5b 28 26 6f 70 74 69 6f | 6e 61 6c 20 70 72 6f 6d |[(&optio|nal prom|
|00002350| 70 74 29 20 22 8a c0 89 | 09 ad 83 c2 09 21 c3 89 |pt) "...|.....!..|
|00002360| 1c 1d 19 1e 06 1e 07 0e | 07 c8 57 ab f3 0e 07 c0 |........|..W.....|
|00002370| 55 c3 c9 1e 5c 6e 1e 0b | 1e 0c 09 ab 88 cd c1 ce |U...\n..|........|
|00002380| cf 09 5c 22 5c 22 88 d0 | 20 14 d1 0c c3 89 d2 24 |..\"\"..| ......$|
|00002390| ae 84 d3 d4 0c 5c 22 15 | 0e 0c ab 83 c3 16 15 2b |.....\".|.......+|
|000023a0| 0d ab 48 d6 0d 58 ab a4 | 0d d7 58 ab 9f 0e 06 d8 |..H..X..|..X.....|
|000023b0| 5f 0d d6 5a 5c 5c 16 06 | 0e 07 54 16 07 09 ab 2c |_..Z\\..|..T....,|
|000023c0| cd c1 ce d9 09 0d 23 89 | 11 5c 22 88 aa 1f 0e 07 |......#.|.\".....|
|000023d0| c0 56 ab 89 0c 16 1a db | 89 16 07 aa 12 0d 16 06 |.V......|........|
|000023e0| db 89 16 07 aa 09 dc dd | 0e 06 de 5c 22 c0 55 ac |........|...\".U.|
|000023f0| 83 df aa 81 c0 dd 0e 06 | e0 5c 22 5c 22 2e 06 87 |........|.\"\"...|
|00002400| 22 20 5b 30 20 70 72 6f | 6d 70 74 20 67 65 74 74 |" [0 pro|mpt gett|
|00002410| 65 78 74 20 6e 69 6c 20 | 65 76 65 6e 74 20 63 68 |ext nil |event ch|
|00002420| 61 72 20 63 6f 64 65 20 | 63 6f 75 6e 74 20 33 20 |ar code |count 3 |
|00002430| 22 54 79 70 65 20 74 68 | 65 20 73 70 65 63 69 61 |"Type th|e specia|
|00002440| 6c 20 63 68 61 72 61 63 | 74 65 72 20 79 6f 75 20 |l charac|ter you |
|00002450| 77 61 6e 74 20 74 6f 20 | 75 73 65 2c 5c 6e 6f 72 |want to |use,\nor|
|00002460| 20 74 68 72 65 65 20 6f | 63 74 61 6c 20 64 69 67 | three o|ctal dig|
|00002470| 69 74 73 20 72 65 70 72 | 65 73 65 6e 74 69 6e 67 |its repr|esenting|
|00002480| 20 69 74 73 20 63 68 61 | 72 61 63 74 65 72 20 63 | its cha|racter c|
|00002490| 6f 64 65 2e 22 20 68 65 | 6c 70 2d 66 6f 72 6d 20 |ode." he|lp-form |
|000024a0| 68 65 6c 70 2d 63 68 61 | 72 20 69 6e 68 69 62 69 |help-cha|r inhibi|
|000024b0| 74 2d 71 75 69 74 20 64 | 69 73 70 6c 61 79 2d 6d |t-quit d|isplay-m|
|000024c0| 65 73 73 61 67 65 20 66 | 6f 72 6d 61 74 20 22 25 |essage f|ormat "%|
|000024d0| 73 2d 22 20 6e 65 78 74 | 2d 63 6f 6d 6d 61 6e 64 |s-" next|-command|
|000024e0| 2d 65 76 65 6e 74 20 65 | 76 65 6e 74 2d 74 6f 2d |-event e|vent-to-|
|000024f0| 63 68 61 72 61 63 74 65 | 72 20 74 20 65 72 72 6f |characte|r t erro|
|00002500| 72 20 22 6b 65 79 20 72 | 65 61 64 20 63 61 6e 6e |r "key r|ead cann|
|00002510| 6f 74 20 62 65 20 69 6e | 73 65 72 74 65 64 20 69 |ot be in|serted i|
|00002520| 6e 20 61 20 62 75 66 66 | 65 72 3a 20 25 53 22 20 |n a buff|er: %S" |
|00002530| 71 75 69 74 2d 66 6c 61 | 67 20 3f 30 20 3f 37 20 |quit-fla|g ?0 ?7 |
|00002540| 38 20 22 25 73 20 25 63 | 22 20 75 6e 72 65 61 64 |8 "%s %c|" unread|
|00002550| 2d 63 6f 6d 6d 61 6e 64 | 2d 65 76 65 6e 74 20 32 |-command|-event 2|
|00002560| 35 39 20 6c 6f 67 69 6f | 72 20 6c 6f 67 61 6e 64 |59 logio|r logand|
|00002570| 20 3f 5c 5e c0 20 31 32 | 38 20 32 35 35 5d 20 37 | ?\^. 12|8 255] 7|
|00002580| 20 28 23 24 20 2e 20 38 | 37 32 35 29 5d 29 0a 23 | (#$ . 8|725)]).#|
|00002590| 40 33 37 35 20 4d 6f 6d | 65 6e 74 61 72 69 6c 79 |@375 Mom|entarily|
|000025a0| 20 64 69 73 70 6c 61 79 | 20 53 54 52 49 4e 47 20 | display| STRING |
|000025b0| 69 6e 20 74 68 65 20 62 | 75 66 66 65 72 20 61 74 |in the b|uffer at|
|000025c0| 20 50 4f 53 2e 0a 44 69 | 73 70 6c 61 79 20 72 65 | POS..Di|splay re|
|000025d0| 6d 61 69 6e 73 20 75 6e | 74 69 6c 20 6e 65 78 74 |mains un|til next|
|000025e0| 20 63 68 61 72 61 63 74 | 65 72 20 69 73 20 74 79 | charact|er is ty|
|000025f0| 70 65 64 2e 0a 49 66 20 | 74 68 65 20 63 68 61 72 |ped..If |the char|
|00002600| 20 69 73 20 45 58 49 54 | 2d 43 48 41 52 20 28 6f | is EXIT|-CHAR (o|
|00002610| 70 74 69 6f 6e 61 6c 20 | 74 68 69 72 64 20 61 72 |ptional |third ar|
|00002620| 67 2c 20 64 65 66 61 75 | 6c 74 20 69 73 20 53 50 |g, defau|lt is SP|
|00002630| 43 29 20 69 74 20 69 73 | 20 73 77 61 6c 6c 6f 77 |C) it is| swallow|
|00002640| 65 64 3b 0a 6f 74 68 65 | 72 77 69 73 65 20 69 74 |ed;.othe|rwise it|
|00002650| 20 69 73 20 74 68 65 6e | 20 61 76 61 69 6c 61 62 | is then| availab|
|00002660| 6c 65 20 61 73 20 69 6e | 70 75 74 20 28 61 73 20 |le as in|put (as |
|00002670| 61 20 63 6f 6d 6d 61 6e | 64 20 69 66 20 6e 6f 74 |a comman|d if not|
|00002680| 68 69 6e 67 20 65 6c 73 | 65 29 2e 0a 44 69 73 70 |hing els|e)..Disp|
|00002690| 6c 61 79 20 4d 45 53 53 | 41 47 45 20 28 6f 70 74 |lay MESS|AGE (opt|
|000026a0| 69 6f 6e 61 6c 20 66 6f | 75 72 74 68 20 61 72 67 |ional fo|urth arg|
|000026b0| 29 20 69 6e 20 74 68 65 | 20 65 63 68 6f 20 61 72 |) in the| echo ar|
|000026c0| 65 61 2e 0a 49 66 20 4d | 45 53 53 41 47 45 20 69 |ea..If M|ESSAGE i|
|000026d0| 73 20 6e 69 6c 2c 20 69 | 6e 73 74 72 75 63 74 69 |s nil, i|nstructi|
|000026e0| 6f 6e 73 20 74 6f 20 74 | 79 70 65 20 45 58 49 54 |ons to t|ype EXIT|
|000026f0| 2d 43 48 41 52 20 61 72 | 65 20 64 69 73 70 6c 61 |-CHAR ar|e displa|
|00002700| 79 65 64 20 74 68 65 72 | 65 2e 1f 0a 28 64 65 66 |yed ther|e...(def|
|00002710| 61 6c 69 61 73 20 27 6d | 6f 6d 65 6e 74 61 72 79 |alias 'm|omentary|
|00002720| 2d 73 74 72 69 6e 67 2d | 64 69 73 70 6c 61 79 20 |-string-|display |
|00002730| 23 5b 28 73 74 72 69 6e | 67 20 70 6f 73 20 26 6f |#[(strin|g pos &o|
|00002740| 70 74 69 6f 6e 61 6c 20 | 65 78 69 74 2d 63 68 61 |ptional |exit-cha|
|00002750| 72 20 6d 65 73 73 61 67 | 65 29 20 22 08 ac 82 c1 |r messag|e) "....|
|00002760| 10 c2 c3 c4 20 0d c2 1e | 06 1e 07 1e 08 1e 09 1e |.... ...|........|
|00002770| 5c 6e cb 8e 8a 0e 0c 62 | 88 c2 15 cd ce 0e 0f 21 |\n.....b|.......!|
|00002780| 21 88 60 16 06 d0 20 0e | 06 56 ab 87 d1 d2 20 d3 |!.`... .|.V.... .|
|00002790| a5 21 88 d4 d5 21 88 60 | 0e 0c 56 ab 88 0e 0c 62 |.!...!.`|..V....b|
|000027a0| 88 d1 d5 21 88 29 d6 0e | 16 ae 83 ce d7 21 d8 08 |...!.)..|.....!..|
|000027b0| 21 5c 22 88 8a d9 20 29 | 1e 1a db 0e 1a 21 08 61 |!\"... )|.....!.a|
|000027c0| ae 85 0e 1a 89 16 1c 2e | 07 87 22 20 5b 65 78 69 |........|.." [exi|
|000027d0| 74 2d 63 68 61 72 20 3f | 5c 20 20 6e 69 6c 20 74 |t-char ?|\ nil t|
|000027e0| 20 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 | buffer-|modified|
|000027f0| 2d 70 20 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |-p buffe|r-file-n|
|00002800| 61 6d 65 20 69 6e 73 65 | 72 74 2d 65 6e 64 20 6e |ame inse|rt-end n|
|00002810| 61 6d 65 20 6d 6f 64 69 | 66 69 65 64 20 62 75 66 |ame modi|fied buf|
|00002820| 66 65 72 2d 75 6e 64 6f | 2d 6c 69 73 74 20 62 75 |fer-undo|-list bu|
|00002830| 66 66 65 72 2d 72 65 61 | 64 2d 6f 6e 6c 79 20 28 |ffer-rea|d-only (|
|00002840| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 ab 86 8a |(byte-co|de "....|
|00002850| 09 08 7c 88 29 5c 6e 13 | c4 0d 21 87 22 20 5b 69 |..|.)\n.|..!." [i|
|00002860| 6e 73 65 72 74 2d 65 6e | 64 20 70 6f 73 20 6e 61 |nsert-en|d pos na|
|00002870| 6d 65 20 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |me buffe|r-file-n|
|00002880| 61 6d 65 20 73 65 74 2d | 62 75 66 66 65 72 2d 6d |ame set-|buffer-m|
|00002890| 6f 64 69 66 69 65 64 2d | 70 20 6d 6f 64 69 66 69 |odified-|p modifi|
|000028a0| 65 64 5d 20 32 29 29 20 | 70 6f 73 20 69 6e 73 65 |ed] 2)) |pos inse|
|000028b0| 72 74 2d 62 65 66 6f 72 | 65 2d 6d 61 72 6b 65 72 |rt-befor|e-marker|
|000028c0| 73 20 67 65 74 74 65 78 | 74 20 73 74 72 69 6e 67 |s gettex|t string|
|000028d0| 20 77 69 6e 64 6f 77 2d | 65 6e 64 20 72 65 63 65 | window-|end rece|
|000028e0| 6e 74 65 72 20 77 69 6e | 64 6f 77 2d 68 65 69 67 |nter win|dow-heig|
|000028f0| 68 74 20 32 20 6d 6f 76 | 65 2d 74 6f 2d 77 69 6e |ht 2 mov|e-to-win|
|00002900| 64 6f 77 2d 6c 69 6e 65 | 20 30 20 6d 65 73 73 61 |dow-line| 0 messa|
|00002910| 67 65 20 22 54 79 70 65 | 20 25 73 20 74 6f 20 63 |ge "Type| %s to c|
|00002920| 6f 6e 74 69 6e 75 65 20 | 65 64 69 74 69 6e 67 2e |ontinue |editing.|
|00002930| 22 20 73 69 6e 67 6c 65 | 2d 6b 65 79 2d 64 65 73 |" single|-key-des|
|00002940| 63 72 69 70 74 69 6f 6e | 20 6e 65 78 74 2d 63 6f |cription| next-co|
|00002950| 6d 6d 61 6e 64 2d 65 76 | 65 6e 74 20 65 76 65 6e |mmand-ev|ent even|
|00002960| 74 20 65 76 65 6e 74 2d | 74 6f 2d 63 68 61 72 61 |t event-|to-chara|
|00002970| 63 74 65 72 20 75 6e 72 | 65 61 64 2d 63 6f 6d 6d |cter unr|ead-comm|
|00002980| 61 6e 64 2d 65 76 65 6e | 74 5d 20 35 20 28 23 24 |and-even|t] 5 (#$|
|00002990| 20 2e 20 39 36 32 31 29 | 5d 29 0a | . 9621)|]). |
+--------+-------------------------+-------------------------+--------+--------+